﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.Data
{
    public class TypeMetadata
    {
        public Guid Id { get; set; }
        public string Caption { get; set; }
        public string Name { get; set; }
        public string DbType { get; set; }
        public int MaxLength { get; set; }
        public int MinLength { get; set; }
        public string Description { get; set; }
        /// <summary>
        /// 私有的类型，不需要用户输入
        /// </summary>
        public bool IsSystem { get; set; }

        /// <summary>
        /// 是否为复杂属性,复杂属性会多出一个"_text"列
        /// </summary>
        public bool IsComplex { get; set; }
    }
}
